﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Lonewolf.Entity
{
    public class MenuInfo:BaseEntity
    {
        /// <summary>
        /// 上级菜单ID
        /// </summary>
        [MaxLength(128)]
        public string SuperiorId { get; set; }
        /// <summary>
        /// 菜单级别,是多少级菜单
        /// </summary>
        public int? MenuLevel { get; set; }
        /// <summary>
        /// 菜单名称
        /// </summary>
        [MaxLength(50)]
        public string MenuName { get; set; }
        /// <summary>
        /// 事件名称
        /// </summary>
        [MaxLength(50)]
        public string MenuEvent { get; set; }
        /// <summary>
        /// 菜单图标
        /// </summary>
        [MaxLength(50)]
        public string MenuIcon { get; set; }
        /// <summary>
        /// 菜单指向地址
        /// </summary>
        [MaxLength(255)]
        public string MenuUrl { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool? MenuIsUse { get; set; }
        /// <summary>
        /// 菜单类型
        /// </summary>
        public int? MenuType { get; set; }
        /// <summary>
        /// 菜单排序
        /// </summary>
        public int? MenuSort { get; set; }
        /// <summary>
        /// 菜单层级，在哪个层级显示
        /// </summary>
        public int? MenuHierarchy { get; set; }
        /// <summary>
        /// 弹窗宽度
        /// </summary>
        public string LayerWidth { get; set; }
        /// <summary>
        /// 弹窗高度
        /// </summary>
        public string LayerHeight { get; set; }
    }
}
